import Vue from 'vue'
import Vuex from 'vuex'
import fan from './modules/fan.js'
import sen from './modules/sen.js'
import wei from './modules/wei.js'
import persistence from "vuex-uniapp-persistence";
Vue.use(Vuex)

const store = new Vuex.Store({
	plugins: [persistence()],
	state: {},
	mutations: {},
	actions: {},
	modules: {
		fan,
		sen,
		wei
	}
})

export default store